package com.wyw.design.model.learning.behavioral.memo;

/**
 * @Title   Memento
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2023/4/20 11:15
 * Update History:
 * Author        Time            Content
 */
public class Memento {
    private int balance;

    public Memento(int balance) {
        this.balance = balance;
    }

    public int getBalance() {
        return balance;
    }
}